package com.pearl.jacksoncore.demo.databind.anno;

import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;

/**
 * @author TD
 * @version 1.0
 * @date 2024/3/28
 */
@JsonNaming(PropertyNamingStrategies.UpperCamelCaseStrategy.class)
public class JsonNamingVO {

    private Long id;

    private String name;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
